package com.cleargroup.magic.cleara

import com.aa.base.PlayerCheck
import com.aa.base.sp.BaseSp

/**
 * @author Afra55
 * @date 8/16/21
 * A smile is the best business card.
 */
object SettingSp :BaseSp("setting"){
    fun hasAgreePrivacy() :Boolean{
        if (PlayerCheck.isNoLimit()) {
            return true
        }
        return getBooleanValue("privacy", false)
    }

    fun setAgreePrivacy() {
        setValue("privacy", true)
    }
}